package com.smart.common.utils.redis.redistask;


import com.smart.common.utils.redis.RedisManager;

public class RedisStringRemoveTask implements Runnable {

    private RedisManager redisManager;
    private String key;
    private int index;

    public RedisStringRemoveTask(RedisManager redisManager, String key, int index) {
        this.redisManager = redisManager;
        this.key = key;
        this.index = index;
    }

    @Override
    public void run() {
    	redisManager.removeRedisString(key, index);
    }
}
